package cn.edu.hhtc.stsystem.struts2.psn;

import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Result;
import org.apache.struts2.convention.annotation.Results;

import cn.edu.hhtc.stsystem.domain.psn.UserForm;

import com.opensymphony.xwork2.ActionSupport;
import com.opensymphony.xwork2.ModelDriven;

/**
 * 人员管理action.
 * 
 * @author linyueqin
 * 
 */
@Results({ @Result(name = "user_main", location = "/WEB-INF/content/sys_manage/user/user_main.jsp") })
public class UserAction extends ActionSupport implements ModelDriven<UserForm> {

	private UserForm form;

	/**
	 * 
	 */
	private static final long serialVersionUID = 7944795972824360953L;

	@Action("/user/main")
	public String showUserMain() throws Exception {

		return "user_main";
	}

	@Override
	public UserForm getModel() {

		return form;
	}

}
